#ifndef CLIENTWIDGET_H
#define CLIENTWIDGET_H

#include <QWidget>
class QTcpSocket;
namespace Ui {
class ClientWidget;
}

class ClientWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ClientWidget(QWidget *parent = nullptr);
    ~ClientWidget();

private slots:
    void on_buttonSend_clicked();

    void on_buttonClose_clicked();

    void on_buttonBindOwnPort_clicked();

private:
    Ui::ClientWidget *ui;
     QTcpSocket * tcpSocket; //通信套接字对象
};

#endif // CLIENTWIDGET_H
